package test.agent;

import java.io.IOException;

import org.nutz.lang.util.NutMap;

import com.kerbores.agent.MethodName;
import com.kerbores.agent.NameSpace;
import com.kerbores.agent.Result;

@NameSpace("file")
public class FileOps {

	@MethodName("read")
	public Result read(NutMap data) throws IOException {
		return Result.success().addData("fileContent", "k");
	}
}
